Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: discard lines containing \0 #82

Merged

Conversation

xzchaoo
Copy link
Contributor

@xzchaoo xzchaoo commented Nov 21, 2023

Which issue does this PR close?

Closes #

Rationale for this change

Some files will contain file holes, which will cause us to produce erroneous data. We have no choice but to discard such log lines.

What changes are included in this PR?

Discard lines containing \0

Are there any user-facing changes?

How does this change test

@xzchaoo xzchaoo requested a review from sw1136562366 November 21, 2023 07:08
@xzchaoo xzchaoo self-assigned this Nov 21, 2023
@xzchaoo xzchaoo added the bug Something isn't working label Nov 21, 2023
Copy link
Collaborator

@sw1136562366 sw1136562366 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sw1136562366 sw1136562366 merged commit 6f99674 into traas-stack:main Nov 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants